-
Notifications
You must be signed in to change notification settings - Fork 167
Upload SSI symbols to our backend #3452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Bob Weinand <[email protected]>
Signed-off-by: Bob Weinand <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3452 +/- ##
==========================================
- Coverage 61.89% 61.75% -0.14%
==========================================
Files 141 141
Lines 12501 12501
Branches 1633 1633
==========================================
- Hits 7737 7720 -17
- Misses 4042 4058 +16
- Partials 722 723 +1 see 4 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
- export DATADOG_API_KEY_PROD=$(aws ssm get-parameter --region us-east-1 --name ci.async-profiler-build.api_key_public_symbols_prod_us1 --with-decryption --query "Parameter.Value" --out text) | ||
- export DATADOG_API_KEY_STAGING=$(aws ssm get-parameter --region us-east-1 --name ci.async-profiler-build.api_key_public_symbols_staging --with-decryption --query "Parameter.Value" --out text) | ||
- | | ||
if [ -n "${DATADOG_API_KEY_STAGING:-}" ]; then | ||
echo "Uploading debug symbols to Datadog..." | ||
DATADOG_API_KEY=$DATADOG_API_KEY_STAGING DATADOG_SITE=datad0g.com DD_BETA_COMMANDS_ENABLED=1 datadog-ci elf-symbols upload --disable-git ./build | ||
else | ||
echo "DATADOG_API_KEY_STAGING not set, skipping Datadog symbol upload" | ||
fi | ||
- | | ||
if [ -n "${DATADOG_API_KEY_PROD:-}" ]; then | ||
echo "Uploading debug symbols to Datadog..." | ||
DATADOG_API_KEY=$DATADOG_API_KEY_PROD DATADOG_SITE=datadoghq.com DD_BETA_COMMANDS_ENABLED=1 datadog-ci elf-symbols upload --disable-git ./build | ||
else | ||
echo "DATADOG_API_KEY_PROD not set, skipping Datadog symbol upload" | ||
fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't we want an proper exit error when the API keys are not set ?
That would avoid having a silently failing job
Takes the debug syms from the builds and uploads them.